//
//  UIView+BorderRadius.h
//  AmountBody
//
//  Created by smm on 2018/1/4.
//  Copyright © 2018年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, UIViewLinePosition) {
    UIViewLinePositionTop,
    UIViewLinePositionLeft,
    UIViewLinePositionBottom,
    UIViewLinePositionRight,
};

@interface UIView (BorderRadius)
-(void)setYuanJiaoForRadius:(CGFloat)radius andMasks:(BOOL)masks;
-(void)setBianKuangAndColor:(UIColor*)color;
#pragma mark - 不定角加圆角
-(void)addLayerRectCorner:(UIRectCorner)RectCorner andRadius:(CGFloat)radius;


- (UIView *)addLineOnPosition: (UIViewLinePosition)position;

- (UIView *)addLineOnPosition: (UIViewLinePosition)position
                        color: (UIColor *)color
                    lineWidth: (CGFloat)lineWidth
                       insets: (UIEdgeInsets)insets;

@end
